<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var mony = prompt("输入班长口袋里的钱数？")
        if ( many >=2000 ) {
            alert("请大家吃西餐")
        }else if ( mony >=1500 ) {
            alert("请大家吃快餐")
        }else if ( mony >=1000 ) {
            alert("请大家喝饮料")
        }else if ( mony >=500 ) {
            alert("请大家吃棒棒糖")
        }else {
            alert("请班长下次把钱带够")
        }
    </script>
</head>
<body>
    
</body>
</html>